package fantasy;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable
public class RosterPositions {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;

    @Persistent
    private LeagueSettings league;
    
    @Persistent
    private String rosterPosition;
	
	@Persistent
    private Integer rosterPositionCount;
	
	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public LeagueSettings getLeague() {
		return league;
	}

	public void setLeague(LeagueSettings league) {
		this.league = league;
	}

	public String getRosterPosition() {
		return rosterPosition;
	}

	public void setRosterPosition(String rosterPosition) {
		this.rosterPosition = rosterPosition;
	}

	public Integer getRosterPositionCount() {
		return rosterPositionCount;
	}

	public void setRosterPositionCount(Integer rosterPositionCount) {
		this.rosterPositionCount = rosterPositionCount;
	}

}

